package com.itheima.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author astupidcoder
 * @since 2021-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TOrder extends Model {

    private static final long serialVersionUID = 1L;

    private String id;

    @TableField("userId")
    private String userId;

    @TableField("orderNum")
    private String orderNum;

    @TableField("articleId")
    private String articleId;

    @TableField("orderTotalPrice")
    private BigDecimal orderTotalPrice;

    @TableField("addTime")
    private LocalDateTime addTime;

    @TableField("updateTime")
    private LocalDateTime updateTime;

    @TableField("payTime")
    private LocalDateTime payTime;

    @TableField("deliverTime")
    private LocalDateTime deliverTime;

    @TableField("finishTime")
    private LocalDateTime finishTime;

    @TableField("orderStatus")
    private Integer orderStatus;

    @TableField("orderPhone")
    private String orderPhone;

    @TableField("orderAddress")
    private String orderAddress;

    @TableField("orderRemark")
    private String orderRemark;

    @TableField("delFlag")
    private Integer delFlag;


}
